const infoSourceObj={
  getinfoSourceId:(oneLevelChildren,target)=>{
    var result_arr = []
    const len1 = oneLevelChildren.length
    for(let i=0;i<len1;i++){
      if(oneLevelChildren[i].value==target){
        result_arr[0] = oneLevelChildren[i].value
        break
      }
      else{
        if(oneLevelChildren[i].children){
          const twoLevelChildren = oneLevelChildren[i].children
          const len2 = twoLevelChildren.length
          for(let j =0;j<len2;j++){
            if(twoLevelChildren[j].value==target){
              result_arr[0] = oneLevelChildren[i].value
              result_arr[1] = twoLevelChildren[j].value
              break
            }
          }
        }

      }
    }
    return result_arr
  }
}
export default infoSourceObj